go/types.TypeParam.obj (field)
19 uses
go/types (current package)
builtins.go#L1003: tpar := NewTypeName(nopos, check.pkg, tp.obj.name, nil)
infer.go#L455: obj := tparams[i].obj
infer.go#L527: return list[0].obj.name
infer.go#L529: return list[0].obj.name + " and " + list[1].obj.name
infer.go#L538: buf.WriteString(tname.obj.name)
infer.go#L541: buf.WriteString(list[n-1].obj.name)
object.go#L327: return obj != t.obj
signature.go#L234: check.recordUse(rparam, tpar.obj)
signature.go#L251: recvTPar.bound = check.subst(recvTPar.obj.pos, baseTPar.bound, smap, nil, check.context())
typeparam.go#L28: obj *TypeName // corresponding type name
typeparam.go#L51: typ := &TypeParam{check: check, id: id, obj: obj, index: -1, bound: constraint}
typeparam.go#L66: func (t *TypeParam) Obj() *TypeName { return t.obj }
typeparam.go#L143: pos := t.obj.pos
typestring.go#L310: if t.obj == nil {
typestring.go#L320: w.string(t.obj.name)
typestring.go#L328: if w.ctxt == nil && Universe.Lookup(t.obj.name) != nil {
typestring.go#L330: w.string(fmt.Sprintf(" /* with %s declared at %v */", t.obj.name, t.obj.Pos()))